package com.hkbigdata.springbootdemo.service;

import com.hkbigdata.springbootdemo.bean.Employee;

import java.util.List;

/**
 * @author liuanbo
 * @creat 2024-11-06-0:36
 * @see 2194550857@qq.com
 */
public interface EmployeeService {

    // 查询所有员工
    List<Employee> getAll();

    //查询单个员工
    Employee getempByid(Integer id);

    // 添加员工
    void addEmp(Employee employee);

    // 修改员工
    void updateEmp(Employee employee);

    // 删除员工
    void deleteEmp(Integer id);
}
